﻿using System.Web.Mvc;

namespace Zinnia.WebDemo.Areas.VShop
{
    public class VShopAreaRegistration : AreaRegistration
    {
        public override string AreaName => "VShop";
        public override void RegisterArea(AreaRegistrationContext context)
        {
            context.MapRoute(
                "VShop_default",
                "VShop/{controller}/{action}/{id}",
                new { controller = "Home", action = "Index", id = UrlParameter.Optional }
            );
        }
    }
}